package com.chb.jblog.ext.jetfunctions;

import java.io.IOException;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import jetbrick.template.runtime.JetTagContext;

public class Tags {
	private static final Log logger = LogFactory.getLog(Tags.class);
	public static void cache(JetTagContext ctx, String name, int timeout) throws IOException {
		String value = ctx.getBodyContent();
		ctx.getWriter().print(value);
		logger.info(value);
	}
}
